<%@ page import="com.ydgk.bean.Supplier" %><%--
  Created by IntelliJ IDEA.
  User: zzz
  Date: 2019/10/8
  Time: 22:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>supplierinformation</title>
    <link rel="stylesheet" type="text/css" href="css/supplierinformation.css">
</head>
<body>
<%
    Supplier supplier = (Supplier) request.getAttribute("supplier");
    String pageNumber = (String)request.getAttribute("pageNumber");
%>
<div>
    <form action="SupplierUpdateByIdServlet.action" method="get">
        <input type="hidden" name="sid" value="<%= supplier.getSid()%>">
        <input type="hidden" name="pageNumber" value="<%= pageNumber%>">
        <p>供应商名字</p>
        <input type="text" name="sname" value="<%= supplier.getSname()%>">
        <p>供应商地址</p>
        <input type="text" name="saddress" value="<%= supplier.getSaddress()%>">
        <p>供应商电话</p>
        <input type="text" name="stel" value="<%= supplier.getStel()%>">
        <br><br>
        <input id="button" type="submit" value="修改">
    </form>
</div>
</body>
</html>
